package com.butcher.framework.kernel.endpoint.http.transform.object;

import java.io.OutputStream;

import com.butcher.framework.kernel.endpoint.http.service.Service;
import com.butcher.framework.kernel.endpoint.http.transform.MessageContext;
import com.butcher.framework.kernel.endpoint.http.transform.Transform;
import com.butcher.framework.kernel.exc.FastHttpException;

public class ObjectTransform implements Transform {

	@Override
	public void consume(MessageContext paramMessageContext)
			throws FastHttpException {
		ObjectTool.read(paramMessageContext);
	}

	@Override
	public void generateXJDL(OutputStream paramOutputStream,
			String paramString1, Service paramService, String paramString2)
			throws FastHttpException {

	}

	@Override
	public void produce(MessageContext paramMessageContext)
			throws FastHttpException {
		ObjectTool.write(paramMessageContext);
	}

}
